package conson.tech.manage.scene.vo;

import com.alibaba.excel.annotation.ExcelProperty;
import conson.tech.manage.scene.excel.converter.MoneyConverter;
import conson.tech.manage.scene.excel.converter.OrderStateConverter;
import conson.tech.manage.scene.excel.converter.TimeConverter;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @Description: 教培订单列表展示
 * @author: yuwenshuo
 * @since: 2020-06-22 09:51
 */

@Data
@NoArgsConstructor
public class TrainingOrderVO implements Serializable {

    @ExcelProperty(value = "机构名称")
    @ApiModelProperty(value = "机构名称")
    private String orgName;

    @ExcelProperty(value = "订单编号")
    @ApiModelProperty(value = "订单编号")
    private Long orderId;

    @ExcelProperty(value = "课程名称")
    @ApiModelProperty(value = "课程名称")
    private String courseName;

    @ExcelProperty(value = "课程类型")
    @ApiModelProperty(value = "课程类型,字典服务获取")
    private String courseType;

    @ExcelProperty(value = "下单时间", converter = TimeConverter.class)
    @ApiModelProperty(value = "下单时间")
    private Long orderTime;

    @ExcelProperty(value = "支付时间", converter = TimeConverter.class)
    @ApiModelProperty(value = "支付时间")
    private Long paymentTime;

    @ExcelProperty(value = "核销时间", converter = TimeConverter.class)
    @ApiModelProperty(value = "核销时间")
    private Long verifyTime;

    @ExcelProperty(value = "订单金额", converter = MoneyConverter.class)
    @ApiModelProperty(value = "订单金额")
    private Long totalPrice;

    @ExcelProperty(value = "下单用户")
    @ApiModelProperty(value = "下单用户")
    private String userMobile;

    @ExcelProperty(value = "订单状态", converter = OrderStateConverter.class)
    @ApiModelProperty(value = "订单状态")
    private Integer orderState;




    private static final long serialVersionUID = 1L;

}
